//
//  JOContects.m
//  私人通讯录
//
//  Created by song on 15/1/23.
//  Copyright (c) 2015年 song. All rights reserved.
//

#import "JOContects.h"

@implementation JOContects



-(instancetype)initWithName:(NSString *)name andTel:(NSString *)tel
{
    if(self =[super init])
    {
        _name = name;
        _tel =tel;
    }
    return self;
}

+(instancetype)contectsWithName:(NSString *)name andTel:(NSString *)tel
{
    return [[self alloc]initWithName:name andTel:tel];
}

-(NSString *)description
{
    return [NSString stringWithFormat:@"_name is %@ and tel is %@",_name,_tel];
}
@end
